package com.zzg.springboot.thymeleaf;

import java.util.Map;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/api/springmvc/thymeleaf")
public class ThymeleafController {
	
	@RequestMapping("/index")
	public String index(Map<String,String> event){
		event.put("desc", "springboot 集成thymeleaf框架");
		return "/index";
	}
	

}
